// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Core</Project>
// <FileName>MyProjectSettingProvider.cs</FileName>
// <CreateTime>2017-04-23 22:40</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-23 22:40" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.Collections.Generic;
using Abp.Configuration;

namespace Vecen.BangChuang {
    public class BangChuangSettingProvider: SettingProvider {
        public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context) {
            return new List<SettingDefinition>() {
                //高德地图API
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.ThirdApi_Amap_WebApi_Key,
                    "23bfc54fe57ae4cc5728ea7aa3f3ad7a"),
                //短信限制
                new SettingDefinition(BangChuangConsts.SettingsName.Validation_Code_IntervalTime, "1"),
                new SettingDefinition(BangChuangConsts.SettingsName.Validation_Code_LimitCount, "10"),

                //短信模板
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.Validation_Code_Sms_Register_TemplateCode,
                    "172957"),
                new SettingDefinition(
                    BangChuangConsts.SettingsName.ThirdApi.Validation_Code_Sms_ChangePhoneNumber_TemplateCode, "0"),
                new SettingDefinition(
                    BangChuangConsts.SettingsName.ThirdApi.Validation_Code_Sms_QuickLogin_TemplateCode, "0"),
                new SettingDefinition(
                    BangChuangConsts.SettingsName.ThirdApi.Validation_Code_Sms_ChangePassword_TemplateCode, "172958"),
                new SettingDefinition(
                    BangChuangConsts.SettingsName.ThirdApi.Validation_Code_Sms_SetWithdrawPassword_TemplateCode, "0"),

                //APP设置
                new SettingDefinition(BangChuangConsts.SettingsName.DisplayCostPriceForApp, "true"),
                new SettingDefinition(BangChuangConsts.SettingsName.DisplayPriceOnSharePage, "true"),

                //PingPP设置
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.ThirdApi_PingPP_LiveMode, "false"),
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.ThirdApi_PingPP_AppId, ""),
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.ThirdApi_PingPP_AppKey_Live, ""),
                new SettingDefinition(BangChuangConsts.SettingsName.ThirdApi.ThirdApi_PingPP_AppKey_Test, "")
            };
        }
    }
}